﻿using System;

namespace IceCS.Puke.Core.PukeEventHandler
{
    /// <summary>
    /// 获取最后一张卡牌的事件的事件参数
    /// </summary>
    public class LastCardDrawnEventArgs : EventArgs
    {
        /// <summary>
        /// 最后一张卡牌
        /// </summary>
        public Card LastCard { get; }
        /// <summary>
        /// 默认构造函数
        /// </summary>
        private LastCardDrawnEventArgs()
        {

        }
        /// <summary>
        /// 自定义构造函数
        /// </summary>
        /// <param name="card">最后一张卡牌</param>
        public LastCardDrawnEventArgs(Card card)
        {
            LastCard = card;
        }
    }
}
